package de.ihk.data;

public class Admin {

	int id;
	String nachname;
	String vorname;
	String eMail;
	String password;
	int superadmin;

	public Admin(int id, String name, String vorname, String eMail, String password, int istSuperadmin) {
		this.id = id;
		this.nachname = name;
		this.vorname = vorname;
		this.eMail = eMail;
		this.password = password;
		this.superadmin = istSuperadmin;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getNachname() {
		return nachname;
	}

	public void setNachname(String name) {
		this.nachname = name;
	}

	public String getVorname() {
		return vorname;
	}

	public void setVorname(String vorname) {
		this.vorname = vorname;
	}

	public String geteMail() {
		return eMail;
	}

	public void seteMail(String eMail) {
		this.eMail = eMail;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public int getSuperadmin() {
		return superadmin;
	}

	public void setSuperadmin(int istSuperadmin) {
		this.superadmin = istSuperadmin;
	}

}
